package main
import(
	"fmt";
	"math/rand";
	"time"
)

func main(){
	rand.Seed(time.Now().UnixNano())
	var i int8
	var count int
	for {
		i = int8(rand.Intn(100)+1)
		count++
		fmt.Println(i)
		if(i == 100){
			break
		}
	}
	fmt.Println("总共循环了",count,"次")
}